import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import { BaseEntity } from '@cool-midway/core';

/**
 * 关注
 */
@EntityModel('user_follow')
export class UserFollowEntity extends BaseEntity {
  @Column({ comment: '作者', name: 'user_id' })
  userId: number;

  @Column({ comment: '关注者', name: 'follow_id' })
  followId: number;
}
